var moment = require('moment');

// http://momentjs.cn/docs/#/parsing/string/
console.log(moment().format('YYYY-MM-DD HH:mm:ss'));